<?php
	
namespace Home\Model;
use Think\Model\ViewModel;	

/**
 * 问题模型
 */
class AnswerModel extends ViewModel {
	
	protected $viewFields=array(
		'answer'=>array(
			'content','time','adopt','anid','asid',
			'_type'=>'INNER',
			),
		'user'=>array('uid','username','exp','face','answer'=>'uanswer','adopt'=>'uadopt','_on'=>'user.uid=answer.uid'),
	);
}

	
